/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*	
*	Julio Montes e-mail: imc.coder@gmail.com 
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef IAREPLACEDIALOG_H
#define IAREPLACEDIALOG_H

#include <wx/wx.h>

#include "iaFindDialogBase.h"

///ID's: 701-800
#define iaID_RD_CBREPLACE 701

#define iaID_RMB_ALL 721
#define iaID_RMB_CANCEL 722
#define iaID_RMB_NO 723
#define iaID_RMB_YES 724

class iaReplaceMessageBox : public wxDialog
{
public:
    iaReplaceMessageBox( wxWindow *parent );
    ~iaReplaceMessageBox();

    void OnButton( wxCommandEvent &evt );
protected:
private:
    DECLARE_EVENT_TABLE()
};





class iaReplaceDialog : public iaFindDialogBase
{
public:
    iaReplaceDialog( wxWindow *parent );
    virtual ~iaReplaceDialog();
protected:
private:
    void OnReplace( wxCommandEvent &evt );

    void OnShow( wxShowEvent &evt );


    int ReplaceWithTarget( long start_find, long end_find, long re_start_find );

    wxComboBox *cbReplace;
    wxStaticText *stReplace;

    int flags;

    DECLARE_EVENT_TABLE()
};

#endif // IAREPLACEDIALOG_H
